{% extends "base.html" %}
{% block content %}
		<h2>Registracija</h2>
		<br />
		{% if not done %}
		<form action="/portal/register/" method="post">
            <div class="form">
                <table cellpadding="1" cellspacing="1">
                    <tr>
                        <td style="vertical-align: top;">Uporabniško ime:</td>
                        <td>{{ form.username }}</td>
                        <td><div class="error-single">{{ form.errors.username.0 }}</div></td>
                    </tr>
                    <tr>
                        <td>Geslo:</td>
                        <td>{{ form.password1 }}</td>
                        <td><div class="error-single">{{ form.errors.password1.0 }}</div></td>
                    </tr>
                    <tr>
                        <td>Geslo ponovno:</td>
                        <td>{{ form.password2 }}</td>
                        <td><div class="error-single">{{ form.errors.password2.0 }}</div></td>
                    </tr>
                    <tr>
                        <td>E-pošta:</td>
                        <td>{{ form.email }}</td>
                        <td><div class="error-single">{{ form.errors.email.0 }}</div></td>
                    </tr>
                </table>
                <br />
                <input type="submit" name="submit" value="  To je to  " />
                {{ form.registration }}
            </div>
		</form>
	    {% else %}
	    Registracija je uspela. Preverite vašo e-pošto, kjer so navodila za aktivacijo.
	    {% endif %}
{% endblock %}

{% block right %}
{% endblock %}